package mapper;

import java.util.List;

import Entity.Maintenance;



public interface Maintenancemapper {
	//后端调用，创建
		public boolean CreatMaintenance(Maintenance maintenance);
		//后端调用，删除
		public void deleteMaintenance(String rid,String mid);
		//后端调用，得到所有
		public List<Maintenance> getAllMaintenance();
		//后端调用，根据roomid查询
		public List<Maintenance> getMaintenanceByrid(String rid);

}
